package com.sharedlease.Feign;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sharedlease.entity.Comment;
import com.sharedlease.entity.Indent;
import com.sharedlease.entity.R;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@Repository
public interface IndentClient extends BaseMapper<Indent> {
    public Indent getIndentById(@PathVariable Long id);
    public List<Indent> getIndentList();
    public List<Indent> getIndentsByUid(@PathVariable Long uid);
    public List<Indent> getIndentsByMid(@PathVariable Long mid);
    public R saveIndent(@RequestBody Indent indent);
    public R deleteIndentById(@RequestBody Indent indent);
    public R updateIndentById(@RequestBody Indent indent);
}
